﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CDmDjkServiceLable" targetNamespace="http://tempuri.org/CDmDjkServiceLable.xsd" xmlns:mstns="http://tempuri.org/CDmDjkServiceLable.xsd" xmlns="http://tempuri.org/CDmDjkServiceLable.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="dijiekeConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dijiekeConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.msBsc.Xsd.DataTds.Properties.Settings.GlobalReference.Default.dijiekeConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DJK_SERVICE_LABLETableAdapter" GeneratorDataComponentClassName="DJK_SERVICE_LABLETableAdapter" Name="DJK_SERVICE_LABLE" UserDataComponentName="DJK_SERVICE_LABLETableAdapter">
            <MainSource>
              <DbSource ConnectionRef="dijiekeConnectionString (Settings)" DbObjectName="dijieke.dbo.DJK_SERVICE_LABLE" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[DJK_SERVICE_LABLE] WHERE (([SERVICE_LABLE_ID] = @Original_SERVICE_LABLE_ID) AND ([DJACK_ID] = @Original_DJACK_ID) AND ([LABLE_ID] = @Original_LABLE_ID) AND ([LABLE_IS_DELETED] = @Original_LABLE_IS_DELETED) AND ([LABLE_IS_DISPLAY] = @Original_LABLE_IS_DISPLAY) AND ((@IsNull_SERVICE_LABLE_RMK = 1 AND [SERVICE_LABLE_RMK] IS NULL) OR ([SERVICE_LABLE_RMK] = @Original_SERVICE_LABLE_RMK)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_LABLE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_DJACK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LABLE_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LABLE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_LABLE_IS_DELETED" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LABLE_IS_DELETED" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_LABLE_IS_DISPLAY" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LABLE_IS_DISPLAY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_LABLE_RMK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_RMK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_LABLE_RMK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_RMK" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[DJK_SERVICE_LABLE] ([SERVICE_LABLE_ID], [DJACK_ID], [LABLE_ID], [LABLE_IS_DELETED], [LABLE_IS_DISPLAY], [SERVICE_LABLE_RMK]) VALUES (@SERVICE_LABLE_ID, @DJACK_ID, @LABLE_ID, @LABLE_IS_DELETED, @LABLE_IS_DISPLAY, @SERVICE_LABLE_RMK);
SELECT SERVICE_LABLE_ID, DJACK_ID, LABLE_ID, LABLE_IS_DELETED, LABLE_IS_DISPLAY, SERVICE_LABLE_RMK FROM DJK_SERVICE_LABLE WHERE (SERVICE_LABLE_ID = @SERVICE_LABLE_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_LABLE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DJACK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LABLE_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LABLE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@LABLE_IS_DELETED" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LABLE_IS_DELETED" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@LABLE_IS_DISPLAY" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LABLE_IS_DISPLAY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_LABLE_RMK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_RMK" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SERVICE_LABLE_ID, DJACK_ID, LABLE_ID, LABLE_IS_DELETED, LABLE_IS_DISPLAY, SERVICE_LABLE_RMK FROM dbo.DJK_SERVICE_LABLE</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[DJK_SERVICE_LABLE] SET [SERVICE_LABLE_ID] = @SERVICE_LABLE_ID, [DJACK_ID] = @DJACK_ID, [LABLE_ID] = @LABLE_ID, [LABLE_IS_DELETED] = @LABLE_IS_DELETED, [LABLE_IS_DISPLAY] = @LABLE_IS_DISPLAY, [SERVICE_LABLE_RMK] = @SERVICE_LABLE_RMK WHERE (([SERVICE_LABLE_ID] = @Original_SERVICE_LABLE_ID) AND ([DJACK_ID] = @Original_DJACK_ID) AND ([LABLE_ID] = @Original_LABLE_ID) AND ([LABLE_IS_DELETED] = @Original_LABLE_IS_DELETED) AND ([LABLE_IS_DISPLAY] = @Original_LABLE_IS_DISPLAY) AND ((@IsNull_SERVICE_LABLE_RMK = 1 AND [SERVICE_LABLE_RMK] IS NULL) OR ([SERVICE_LABLE_RMK] = @Original_SERVICE_LABLE_RMK)));
SELECT SERVICE_LABLE_ID, DJACK_ID, LABLE_ID, LABLE_IS_DELETED, LABLE_IS_DISPLAY, SERVICE_LABLE_RMK FROM DJK_SERVICE_LABLE WHERE (SERVICE_LABLE_ID = @SERVICE_LABLE_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_LABLE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DJACK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LABLE_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LABLE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@LABLE_IS_DELETED" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LABLE_IS_DELETED" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@LABLE_IS_DISPLAY" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LABLE_IS_DISPLAY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_LABLE_RMK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_RMK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_LABLE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_DJACK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DJACK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LABLE_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LABLE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_LABLE_IS_DELETED" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LABLE_IS_DELETED" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_LABLE_IS_DISPLAY" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LABLE_IS_DISPLAY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_LABLE_RMK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_RMK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_LABLE_RMK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_LABLE_RMK" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SERVICE_LABLE_ID" DataSetColumn="SERVICE_LABLE_ID" />
              <Mapping SourceColumn="DJACK_ID" DataSetColumn="DJACK_ID" />
              <Mapping SourceColumn="LABLE_ID" DataSetColumn="LABLE_ID" />
              <Mapping SourceColumn="LABLE_IS_DELETED" DataSetColumn="LABLE_IS_DELETED" />
              <Mapping SourceColumn="LABLE_IS_DISPLAY" DataSetColumn="LABLE_IS_DISPLAY" />
              <Mapping SourceColumn="SERVICE_LABLE_RMK" DataSetColumn="SERVICE_LABLE_RMK" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CDmDjkServiceLable" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="CDmDjkServiceLable" msprop:Generator_UserDSName="CDmDjkServiceLable">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="DJK_SERVICE_LABLE" msprop:Generator_TableClassName="DJK_SERVICE_LABLEDataTable" msprop:Generator_TableVarName="tableDJK_SERVICE_LABLE" msprop:Generator_TablePropName="DJK_SERVICE_LABLE" msprop:Generator_RowDeletingName="DJK_SERVICE_LABLERowDeleting" msprop:Generator_RowChangingName="DJK_SERVICE_LABLERowChanging" msprop:Generator_RowEvHandlerName="DJK_SERVICE_LABLERowChangeEventHandler" msprop:Generator_RowDeletedName="DJK_SERVICE_LABLERowDeleted" msprop:Generator_UserTableName="DJK_SERVICE_LABLE" msprop:Generator_RowChangedName="DJK_SERVICE_LABLERowChanged" msprop:Generator_RowEvArgName="DJK_SERVICE_LABLERowChangeEvent" msprop:Generator_RowClassName="DJK_SERVICE_LABLERow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SERVICE_LABLE_ID" msprop:Generator_ColumnVarNameInTable="columnSERVICE_LABLE_ID" msprop:Generator_ColumnPropNameInRow="SERVICE_LABLE_ID" msprop:Generator_ColumnPropNameInTable="SERVICE_LABLE_IDColumn" msprop:Generator_UserColumnName="SERVICE_LABLE_ID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DJACK_ID" msprop:Generator_ColumnVarNameInTable="columnDJACK_ID" msprop:Generator_ColumnPropNameInRow="DJACK_ID" msprop:Generator_ColumnPropNameInTable="DJACK_IDColumn" msprop:Generator_UserColumnName="DJACK_ID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LABLE_ID" msprop:Generator_ColumnVarNameInTable="columnLABLE_ID" msprop:Generator_ColumnPropNameInRow="LABLE_ID" msprop:Generator_ColumnPropNameInTable="LABLE_IDColumn" msprop:Generator_UserColumnName="LABLE_ID" type="xs:int" />
              <xs:element name="LABLE_IS_DELETED" msprop:Generator_ColumnVarNameInTable="columnLABLE_IS_DELETED" msprop:Generator_ColumnPropNameInRow="LABLE_IS_DELETED" msprop:Generator_ColumnPropNameInTable="LABLE_IS_DELETEDColumn" msprop:Generator_UserColumnName="LABLE_IS_DELETED" type="xs:boolean" />
              <xs:element name="LABLE_IS_DISPLAY" msprop:Generator_ColumnVarNameInTable="columnLABLE_IS_DISPLAY" msprop:Generator_ColumnPropNameInRow="LABLE_IS_DISPLAY" msprop:Generator_ColumnPropNameInTable="LABLE_IS_DISPLAYColumn" msprop:Generator_UserColumnName="LABLE_IS_DISPLAY" type="xs:boolean" />
              <xs:element name="SERVICE_LABLE_RMK" msprop:Generator_ColumnVarNameInTable="columnSERVICE_LABLE_RMK" msprop:Generator_ColumnPropNameInRow="SERVICE_LABLE_RMK" msprop:Generator_ColumnPropNameInTable="SERVICE_LABLE_RMKColumn" msprop:Generator_UserColumnName="SERVICE_LABLE_RMK" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DJK_SERVICE_LABLE" />
      <xs:field xpath="mstns:SERVICE_LABLE_ID" />
    </xs:unique>
  </xs:element>
</xs:schema>